package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统注册对象 sys_server_registe
 *
 * @author jijinwu
 * @date 2025-04-20
 */
@ApiModel(value = "系统注册")
public class SysServerRegiste extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** 主键id */
        @ApiModelProperty(value = "主键id", dataType = "Integer")
    private Integer id;

    /** 系统名称 */
        @ApiModelProperty(value = "系统名称", dataType = "String")
        @Excel(name = "系统名称")
    private String systemName;

    /** 公司名称 */
        @ApiModelProperty(value = "公司名称", dataType = "String")
        @Excel(name = "公司名称")
    private String companyName;

    /** 应用id */
        @ApiModelProperty(value = "应用id", dataType = "String")
        @Excel(name = "应用id")
    private String appId;

    /** 秘钥 */
        @ApiModelProperty(value = "秘钥", dataType = "String")
        @Excel(name = "秘钥")
    private String appSecret;

    /** 白名单ip */
        @ApiModelProperty(value = "白名单ip", dataType = "String")
        @Excel(name = "白名单ip")
    private String ip;

    /** 操作人 */
        @ApiModelProperty(value = "操作人", dataType = "String")
        @Excel(name = "操作人")
    private String operateUsername;

    public void setId(Integer id)
    {
        this.id = id;
     }

    public Integer getId()
    {
         return id;
    }
    public void setSystemName(String systemName)
    {
        this.systemName = systemName;
     }

    public String getSystemName()
    {
         return systemName;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
     }

    public String getCompanyName()
    {
         return companyName;
    }
    public void setAppId(String appId)
    {
        this.appId = appId;
     }

    public String getAppId()
    {
         return appId;
    }
    public void setAppSecret(String appSecret)
    {
        this.appSecret = appSecret;
     }

    public String getAppSecret()
    {
         return appSecret;
    }
    public void setIp(String ip)
    {
        this.ip = ip;
     }

    public String getIp()
    {
         return ip;
    }
    public void setOperateUsername(String operateUsername)
    {
        this.operateUsername = operateUsername;
     }

    public String getOperateUsername()
    {
         return operateUsername;
    }

@Override
public String toString() {
    return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("systemName", getSystemName())
            .append("companyName", getCompanyName())
            .append("appId", getAppId())
            .append("appSecret", getAppSecret())
            .append("ip", getIp())
            .append("remark", getRemark())
            .append("operateUsername", getOperateUsername())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
        .toString();
    }
}
